package com.dragon.app.third.dto;

import com.dragon.loan.entity.AcLoanApplyInfo;

import java.io.Serializable;
import java.math.BigDecimal;

public class ApplyLoanDTO  implements Serializable{
	private static final long serialVersionUID = 1L;
	private String loanId;
	private String productId;
	private String productName;
	private Integer applyTerms;
	private BigDecimal applyMoney;
	private String usedId;
	private String usedName;
	private String usedOther;
	private String bankAccount;
	private String bankName;
	private String workType;
	private String validCode;
	
	public ApplyLoanDTO(AcLoanApplyInfo acLoanApplyInfo) {
		this.loanId = acLoanApplyInfo.getLoanId();
		this.productId = acLoanApplyInfo.getProductId();
		this.productName = acLoanApplyInfo.getProductName();
		this.applyTerms = acLoanApplyInfo.getApplyTerms();
		this.applyMoney = acLoanApplyInfo.getApplyMoney();
		this.usedId = acLoanApplyInfo.getUsedId();
		this.usedName = acLoanApplyInfo.getUsedName();
		this.usedOther = acLoanApplyInfo.getUsedOther();
		this.bankAccount = acLoanApplyInfo.getReceiveAcct();
		this.bankName = acLoanApplyInfo.getReceiveAcctName();
		this.workType = acLoanApplyInfo.getWorkType();
	}

	public ApplyLoanDTO() {}

	
	public String getValidCode() {
		return validCode;
	}

	public void setValidCode(String validCode) {
		this.validCode = validCode;
	}

	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}


	public Integer getApplyTerms() {
		return applyTerms;
	}

	public void setApplyTerms(Integer applyTerms) {
		this.applyTerms = applyTerms;
	}

	public BigDecimal getApplyMoney() {
		return applyMoney;
	}

	public void setApplyMoney(BigDecimal applyMoney) {
		this.applyMoney = applyMoney;
	}

	public String getUsedId() {
		return usedId;
	}

	public void setUsedId(String usedId) {
		this.usedId = usedId;
	}

	public String getUsedName() {
		return usedName;
	}

	public void setUsedName(String usedName) {
		this.usedName = usedName;
	}

	public String getUsedOther() {
		return usedOther;
	}

	public void setUsedOther(String usedOther) {
		this.usedOther = usedOther;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getWorkType() {
		return workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}

}
